import "reflect-metadata";
export function SetMetadata(metadataKey, metadataValue) {
  return (target: object | Function, propertykey?: string, descriptor?) => {
    if (descriptor) {
      Reflect.defineMetadata(metadataKey, metadataValue, descriptor.value);
    } else {
      Reflect.defineMetadata(metadataKey, metadataValue, target);
    }
  };
}
